package com.recharge.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.google.gson.Gson;
import lombok.Data;

@Data
public class MerchantCallbakDO {

    private String orderNo;

    private String serialNumber;

    private String rechargeNumber;

    private String voucherNo;

    private Integer code;

    private String message;

    private String callbackUrl;

    @Override
    public String toString() {
        return "MerchantCallbakDO{" +
                "orderNo='" + orderNo + '\'' +
                ", serialNumber='" + serialNumber + '\'' +
                ", rechargeNumber='" + rechargeNumber + '\'' +
                ", voucherNo='" + voucherNo + '\'' +
                ", code=" + code +
                '}';
    }

    public static void main(String[] args) {
        MerchantCallbakDO callbakDO = new MerchantCallbakDO();
        callbakDO.setCode(0);
        callbakDO.setSerialNumber("12345566778");
        callbakDO.setRechargeNumber("13308336773");
        callbakDO.setOrderNo("20201020932342");
        callbakDO.setVoucherNo("302003423");

        Gson gson = new Gson();
        System.out.println(gson.toJson(callbakDO));
    }
}
